package com.kwan80gmail.flextime.models;

import java.io.Serializable;

/**
 * Created by Kevin on 2015-03-10.
 */
public class Place implements Serializable
{
    private int locationId;
    private String name;
    private double latitude;
    private double longitude;
    private int radius;



    public Place(int locationId, String name, double longitude, double latitude, int radius)
    {
        this.locationId = locationId;
        this.name = name;
        this.longitude = longitude;
        this.latitude = latitude;
        this.radius = radius;
    }

    public int getRadius()
    {
        return radius;
    }

    public void setRadius(int radius)
    {
        this.radius = radius;
    }

    public int getLocationId()
    {
        return locationId;
    }

    public void setLocationId(int locationId)
    {
        this.locationId = locationId;
    }

    public int getlocationId()
    {
        return locationId;
    }

    public void setName(int locationId)
    {
        this.locationId = locationId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public double getLongitude()
    {
        return longitude;
    }

    public void setLongitude(double longitude)
    {
        this.longitude = longitude;
    }

    public double getLatitude()
    {
        return latitude;
    }

    public void setLatitude(double latitude)
    {
        this.latitude = latitude;
    }



    public String toString()
    {
        String sum = locationId + " " + name + " lng :" + longitude + " lat : " + latitude;

        return sum;
    }
}
